package cn.wd.service;

import cn.wd.domain.Book;
import cn.wd.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBookService {

    void insert(Book book);

    void delete(Long id);

    void update(Book book);

    Book selectById(Long id);

    List<Book> selectAll();

    PageInfo<Book> selectForList(QueryObject qo);
}
